<?php
/*
 * Created on 19 mars 07
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 class Category extends AppModel
 {
 	var $name = 'Category';
 	
 	var $validate = array(
 		'type' => VALID_NOT_EMPTY,
		'title' => VALID_NOT_EMPTY
 		);
 		
 	var $hasMany = array(
			'Product' => array(
 				'className' => 'Product',
 				'conditions' => '',
 				'order' => '',
 				'foreignKey' => 'category_id')
 		);
 }
?>
